package JavaDowork.pratice3;

import java.util.Scanner;

public class Q5 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("第一个数字：");
        int a = scanner.nextInt();
        System.out.print("第二个数字：");
        int b = scanner.nextInt();
        System.out.print("第三个数字：");
        int c = scanner.nextInt();
        int m;
        m = a > b ? a : b;
        m = m > c ? m : c;
        System.out.println("三个数中的最大数是：" + m);
    }
}
